import {createRouter, createWebHashHistory} from "vue-router";


export default createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/DiscoveredMusic',
            name: 'DiscoveredMusic',
            component: () => import('@/views/DiscoveredMusic')
        }, {
            path: '/VideoMv',
            name: 'VideoMv',
            component: () => import('@/views/VideoMv'),
        }, {
            path: '/PlayList',
            name: 'PlayList',
            component: () => import('@/views/PlayList'),
        }, {
            path: '/MyCollections',
            name: 'MyCollections',
            component: () => import('@/views/MyCollections'),
        }, {
            path: '/FriendsPost',
            name: 'FriendsPost',
            component: () => import('@/views/FriendsPost'),
        }, {
            path: '/VideoMvPlay',
            name: 'VideoMvPlay',
            components: {
                VideoMvPlay: () => import('@/views/VideoMvPlay')
            },
        }, {
            path: '/EditPlayListInfo',
            name: 'EditPlayListInfo',
            component: () => import('@/views/EditPlayListInfo')
            ,
        }, {
            path: '/EditPersonInfo',
            name: 'EditPersonInfo',
            component: () => import('@/views/EditPersonInfo')
            ,
        },
        {
            path: '/',
            redirect: '/EditPersonInfo'
        },
    ]
})